package cn.com.java.service;

import cn.com.java.model.ShoppingCart;
import cn.com.java.model.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author liushuntao
 * @date 2024/3/19
 */
public interface ShoppingCartService extends IService<ShoppingCart> {
    String joinShoppingCar(Long userId, Long productId, Integer num);

    List<ShoppingCart> getByUserId(Long userId);
}
